package com.wjy.blog.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;


@NoArgsConstructor
@Data
public class User {
    private Integer id;
    private String userName;
    private String nickName;
    private String password;
    private String email;
    private String userFace;
    private Timestamp regTime;

    public User(String userName, String nickName, String password, String email, String userFace, Timestamp regTime) {
        this.userName = userName;
        this.nickName = nickName;
        this.password = password;
        this.email = email;
        this.userFace = userFace;
        this.regTime = regTime;
    }
}
